import ajax from './ajax'

/**
 * 根据id获取商品详情数据
 * @param {*} gid 
 * @returns 
 */
export const getDetail = gid =>ajax({
    // url:'api/good/gooddetails',
    url:'http://api.7n7.top/good/gooddetails',
    method:'POST',
    params:{
        gid
    }
})